package io.github.talelin.latticy.dto.pick;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.util.List;

@Data
public class PickDown{

    @NotEmpty(message = "{orderId.not-empty}")
    private List<Long> orderIds;

    @NotNull(message = "{pickerId.not-null}")
    @Positive(message = "{id.positive}")
    private Integer pickerId;
}
